import request from '@/utils/request'

const api_name = '/educenter/ucenter'

export default {
//发送修改邮箱验证码
  sendChangEmailCode(email) {
    return request({
      url: `msmservice/msm/sendEmail/${email}?key=change`,
      method: 'get'
    })
  },
  changePassword(params) {
    return request({
      url: `${api_name}/changPassword`,
      method: 'post',
      data:params
    })
  }
}
